<legend class='hyc-legend'>
    <span>{{versionTitle || '版本数据管理'}}</span>
</legend>
<div class="panel panel-default">
    <div class="panel-heading">{{versionTitle || '版本数据管理'}}</div>
    <div class="panel-body admin">
        <div class="row">
            <div class="col-md-offset-2 col-md-6">
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">平台名称：</div>
                    <div class="col-md-8">
                        <input class="input" ng-model="versionObj.platform" placeholder="请输平台名称">
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">应用类型：</div>
                    <div class="col-md-8">
                        <button type="button" class="btn btn-default admin-select select" ng-model="versionObj.appType" bs-options="appType.code as appType.name for appType in appType" bs-select placeholder="---请选择---">
                        </button>
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">版本发布序号：</div>
                    <div class="col-md-8">
                        <input class="input" ng-model="versionObj.versionCode" placeholder="版本发布序号">
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">显示发布版本：</div>
                    <div class="col-md-8">
                        <input class="input" ng-model="versionObj.version" placeholder="显示发布版本">
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">下载地址：</div>
                    <div class="col-md-8">
                        <input class="input" ng-model="versionObj.url" placeholder="下载地址">
                    </div>
                </div>
                <div class="row margin-bottom-10">
                    <div class="col-md-4 text-right">发布内容：</div>
                    <div class="col-md-8">
                        <textarea class="input" cols="50" rows="5" ng-model="versionObj.releaseNote" placeholder="发布内容"></textarea>
                    </div>
                </div>
                <div class="row margin-bottom-10"></div>
                <div class="row margin-bottom-10">
                    <div class="col-md-offset-4 col-md-8 text-center">
                        <div class="row">
                            <div class="col-md-6">
                                <div class="btn btn btn-default btn-block" onclick="javascript: history.go(-1);">返回</div>
                            </div>
                            <div class="col-md-6">
                                <div class="btn btn btn-warning btn-block" ng-click="saveVersion()">保存</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>